#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
class QPushButton;
class QTextEdit;
class QLabel;
QT_BEGIN_NAMESPACE
namespace Ui {
class Dialog;
}
QT_END_NAMESPACE

class Dialog : public QDialog
{
    Q_OBJECT

public:
    Dialog(QWidget *parent = nullptr);
    ~Dialog();

private:
    Ui::Dialog *ui;
    QLabel* label;
    QTextEdit* textEdit;
    QPushButton* button;

    bool bo = true;
protected:
    void paintEvent(QPaintEvent *event) override;
private slots:
    void onButtonClick();
};
#endif // DIALOG_H
